import Force3 from './Force3'

class Mover extends Force3 {
    constructor() {
        super()
        this.size = 0
        this.time = 0
        this.is_active = false
    }

    init (vector) {
        this.velocity = vector.clone()
        this.anchor = vector.clone()
        this.acceleration.set(0, 0, 0)
        this.time = 0
    }

    activate () {
        this.is_active = true
    }

    inactivate () {
        this.is_active = false
    }
}

export default Mover
